package com.demo.scenic.mapper;

import com.demo.scenic.domain.TimeConfig;
import com.demo.scenic.domain.TimeConfigExample;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface TimeConfigMapper {
    long countByExample(TimeConfigExample example);

    int deleteByExample(TimeConfigExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(TimeConfig record);

    int insertSelective(TimeConfig record);

    List<TimeConfig> selectByExample(TimeConfigExample example);

    TimeConfig selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") TimeConfig record, @Param("example") TimeConfigExample example);

    int updateByExample(@Param("record") TimeConfig record, @Param("example") TimeConfigExample example);

    int updateByPrimaryKeySelective(TimeConfig record);

    int updateByPrimaryKey(TimeConfig record);

    TimeConfig selectByScenicId(Integer scenicId);
}